package com.ybkj.o2o.zhuanche.mapper;

import com.ybkj.o2o.zhuanche.entity.OrderStatus;
import com.ybkj.o2o.zhuanche.entity.OrderStatusCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OrderStatusMapper extends BaseMapper<OrderStatus, OrderStatusCriteria, Long> {
  Long countByExample(OrderStatusCriteria example);

  int deleteByExample(OrderStatusCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(OrderStatus record);

  int insertSelective(OrderStatus record);

  List<OrderStatus> selectByExampleWithRowbounds(OrderStatusCriteria example, RowBounds rowBounds);

  List<OrderStatus> selectByExample(OrderStatusCriteria example);

  OrderStatus selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") OrderStatus record,
      @Param("example") OrderStatusCriteria example);

  int updateByExample(@Param("record") OrderStatus record,
      @Param("example") OrderStatusCriteria example);

  int updateByPrimaryKeySelective(OrderStatus record);

  int updateByPrimaryKey(OrderStatus record);

  List<OrderStatus> findByOrderId(@Param("orderId")Long orderId);
}
